package cn.lyvust.eais.manage.entity;

import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author ggzheng
 * @since 2021-04-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Teacher implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId
    private String id;

    private String username;

    private String password;

    private String no;

    /**
     * 身份证号码
     */
    private String certNo;

    private String major;

    private String college;

    /**
     * 教师手机号码
     */
    private String phone;

    /**
     * 招生总人数
     */
    private Integer total;

    /**
     * 教师状态:1-在职; 2:请假;3:休假;4:其他
     */
    private Integer status;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    private String extra;


}
